package cn.itcast.service;

import cn.itcast.feign.pojo.Order;
import cn.itcast.feign.pojo.PageBean;

import java.util.Date;
import java.util.List;

public interface OrderService {
    Order getOrderById(Integer orderId);

    void createOrder(Order order);

    PageBean getOrdersByIdCardAndRoomNumberAndDateRange(String userName, Integer roomPrice, Date startDate, Date endDate, Integer page, Integer pageSize);
}
